﻿@using Microsoft.Web.Mvc
@model TeamCityMonitor.Models.HeroStory

@{
    ViewBag.Title = "Delete";
    Layout = "../Admin/Layout.cshtml";
}

<h2 class="center">Hero Stories</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>HeroStory</legend>

    <div class="display">
        <div class="titleDisplay">
            @Html.DisplayFor(model => model.Title)
        </div>
    
        <div class="heroDisplay">
            @Html.Image("../../Content/userpictures/empty-profile.jpg", "")
        </div>

        <div class="footerDisplay">
            @Html.DisplayFor(model => model.Text)
        </div>
    </div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
